package day9;

/**
 * @author oldliu
 * @since 1.0
 */
//租赁记录
public class RentHistory {
    private String name;//谁租的
    private String tele;//手机号
    //租了什么车
    private String licensePlate;
    //private Vechile car;
    private int days;//天数

    public RentHistory(String name, String tele, String licensePlate, int days) {
        this.name = name;
        this.tele = tele;
        this.licensePlate = licensePlate;
        this.days = days;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTele() {
        return tele;
    }

    public void setTele(String tele) {
        this.tele = tele;
    }

    public String getLicensePlate() {
        return licensePlate;
    }

    public void setLicensePlate(String licensePlate) {
        this.licensePlate = licensePlate;
    }

    public int getDays() {
        return days;
    }

    public void setDays(int days) {
        this.days = days;
    }

    @Override
    public String toString() {
        return
                "租车人='" + name + '\'' +
                ", 手机号='" + tele + '\'' +
                ", 车牌号='" + licensePlate + '\'' +
                ", 天数=" + days ;

    }
}
